package com.study;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.study.util.FileUtil;

import java.util.*;

/**
 * TODO
 *
 * @author wanghuilong
 * @version 1.0
 * @date 2021/12/30 5:41 下午
 */
public class Test11 {

    public static void main(String[] args) {

        String sql = "[{\"orderSn\":\"11464916111491076\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":464916111491075},{\"orderSn\":\"11464916723728388\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":464916723728387},{\"orderSn\":\"11473064444493828\",\"userId\":940706273591297,\"bizId\":\"B2B_SCM\",\"id\":473064444493827},{\"orderSn\":\"11474476868009988\",\"userId\":940706273591297,\"bizId\":\"B2B_SCM\",\"id\":474476868009987},{\"orderSn\":\"11474477270695940\",\"userId\":940706273591297,\"bizId\":\"B2B_SCM\",\"id\":474477270695939},{\"orderSn\":\"11478693494325252\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":478693494325251},{\"orderSn\":\"11498201209798660\",\"userId\":940252852551681,\"bizId\":\"B2B_SCM\",\"id\":498201209798659},{\"orderSn\":\"11511343474245636\",\"userId\":928969285599232,\"bizId\":\"B2B_SCM\",\"id\":511343474245635},{\"orderSn\":\"11538978477244420\",\"userId\":940709780029441,\"bizId\":\"B2B_SCM\",\"id\":538978477244419},{\"orderSn\":\"11538984953282564\",\"userId\":940709780029441,\"bizId\":\"B2B_SCM\",\"id\":538984953282563},{\"orderSn\":\"11538989315358724\",\"userId\":940709780029441,\"bizId\":\"B2B_SCM\",\"id\":538989315358723},{\"orderSn\":\"11538990380711940\",\"userId\":940709780029441,\"bizId\":\"B2B_SCM\",\"id\":538990380711939},{\"orderSn\":\"11538995648626692\",\"userId\":940709780029441,\"bizId\":\"B2B_SCM\",\"id\":538995648626691},{\"orderSn\":\"11539006998413316\",\"userId\":940709780029441,\"bizId\":\"B2B_SCM\",\"id\":539006998413315},{\"orderSn\":\"11543900601974788\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":543900601974787},{\"orderSn\":\"11543932822716420\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":543932822716419},{\"orderSn\":\"11545469414277124\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":545469414277123},{\"orderSn\":\"11550452942995460\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":550452942995459},{\"orderSn\":\"11553445109170180\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":553445109170179},{\"orderSn\":\"11553446367428612\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":553446367428611},{\"orderSn\":\"11553447894056964\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":553447894056963},{\"orderSn\":\"11553451257888772\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":553451257888771},{\"orderSn\":\"11553451962531844\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":553451962531843},{\"orderSn\":\"11555020540084228\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":555020540084227},{\"orderSn\":\"11555533435371524\",\"userId\":959511402020864,\"bizId\":\"B2B_SCM\",\"id\":555533435371523},{\"orderSn\":\"11555628050481156\",\"userId\":959511402020864,\"bizId\":\"B2B_SCM\",\"id\":555628050481155},{\"orderSn\":\"11555685235621892\",\"userId\":1111361464008704,\"bizId\":\"B2B_SCM\",\"id\":555685235621891},{\"orderSn\":\"11555686116425732\",\"userId\":1111361464008704,\"bizId\":\"B2B_SCM\",\"id\":555686116425731},{\"orderSn\":\"11555686594576388\",\"userId\":1111361464008704,\"bizId\":\"B2B_SCM\",\"id\":555686594576387},{\"orderSn\":\"11555692542099460\",\"userId\":1111361464008704,\"bizId\":\"B2B_SCM\",\"id\":555692542099459},{\"orderSn\":\"11555838798626820\",\"userId\":1111361464008704,\"bizId\":\"B2B_SCM\",\"id\":555838798626819},{\"orderSn\":\"11555853554319364\",\"userId\":1111361464008704,\"bizId\":\"B2B_SCM\",\"id\":555853554319363},{\"orderSn\":\"11555854208598020\",\"userId\":1111361464008704,\"bizId\":\"B2B_SCM\",\"id\":555854208598019},{\"orderSn\":\"11555860391034884\",\"userId\":1111361464008704,\"bizId\":\"B2B_SCM\",\"id\":555860391034883},{\"orderSn\":\"11556347567833092\",\"userId\":1111361464008704,\"bizId\":\"B2B_SCM\",\"id\":556347567833091},{\"orderSn\":\"11559419593424900\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":559419593424899},{\"orderSn\":\"11559829897084932\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":559829897084931},{\"orderSn\":\"11559884557189124\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":559884557189123},{\"orderSn\":\"11560590055964676\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":560590055964675},{\"orderSn\":\"11560591750463492\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":560591750463491},{\"orderSn\":\"11563676887449604\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":563676887449603},{\"orderSn\":\"11564198650544132\",\"userId\":928929557151746,\"bizId\":\"B2B_SCM\",\"id\":564198650544131},{\"orderSn\":\"11564210042339332\",\"userId\":928929557151746,\"bizId\":\"B2B_SCM\",\"id\":564210042339331},{\"orderSn\":\"11564210159681540\",\"userId\":928929557151746,\"bizId\":\"B2B_SCM\",\"id\":564210159681539},{\"orderSn\":\"11564210251956228\",\"userId\":928929557151746,\"bizId\":\"B2B_SCM\",\"id\":564210251956227},{\"orderSn\":\"11564210344230916\",\"userId\":928929557151746,\"bizId\":\"B2B_SCM\",\"id\":564210344230915},{\"orderSn\":\"11564306905497604\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":564306905497603},{\"orderSn\":\"11564387629039620\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":564387629039619},{\"orderSn\":\"11564908695814148\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":564908695814147},{\"orderSn\":\"11564932662132743\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":564932662132742},{\"orderSn\":\"11564961535787012\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":564961535787011},{\"orderSn\":\"11564961762213892\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":564961762213891},{\"orderSn\":\"11564962290630660\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":564962290630659},{\"orderSn\":\"11564962458533892\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":564962458533891},{\"orderSn\":\"11566409518841860\",\"userId\":940706273591297,\"bizId\":\"B2B_SCM\",\"id\":566409518841859},{\"orderSn\":\"11566550070001668\",\"userId\":940706273591297,\"bizId\":\"B2B_SCM\",\"id\":566550070001667},{\"orderSn\":\"11568600941920260\",\"userId\":940706273591297,\"bizId\":\"B2B_SCM\",\"id\":568600941920259},{\"orderSn\":\"11568662061383684\",\"userId\":940706273591297,\"bizId\":\"B2B_SCM\",\"id\":568662061383683},{\"orderSn\":\"11569269035892740\",\"userId\":940709780029441,\"bizId\":\"B2B_SCM\",\"id\":569269035892739},{\"orderSn\":\"11570792457469956\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":570792457469955},{\"orderSn\":\"11573602255175684\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":573602255175683},{\"orderSn\":\"11576897005977604\",\"userId\":959511402020864,\"bizId\":\"B2B_SCM\",\"id\":576897005977603},{\"orderSn\":\"11577415706509316\",\"userId\":1111361480785920,\"bizId\":\"B2B_SCM\",\"id\":577415706509315},{\"orderSn\":\"11577439756681220\",\"userId\":1111361480785920,\"bizId\":\"B2B_SCM\",\"id\":577439756681219},{\"orderSn\":\"11579409193697284\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":579409193697283},{\"orderSn\":\"11581693042786308\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":581693042786307},{\"orderSn\":\"11581693227335684\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":581693227335683},{\"orderSn\":\"11585209663750148\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":585209663750147},{\"orderSn\":\"11585225929228292\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":585225929228291},{\"orderSn\":\"11585339218362372\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":585339218362371},{\"orderSn\":\"11586044918431748\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":586044918431747},{\"orderSn\":\"11586816292126724\",\"userId\":940709780029441,\"bizId\":\"B2B_SCM\",\"id\":586816292126723},{\"orderSn\":\"11589550030422020\",\"userId\":814177845379104,\"bizId\":\"B2B_SCM\",\"id\":589550030422019},{\"orderSn\":\"11589589498920964\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":589589498920963},{\"orderSn\":\"11589590941663236\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":589590941663235},{\"orderSn\":\"11589675222106116\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":589675222106115},{\"orderSn\":\"11589739025858564\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":589739025858563},{\"orderSn\":\"11590277675024388\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":590277675024387},{\"orderSn\":\"11590429542514692\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":590429542514691},{\"orderSn\":\"11591720297496580\",\"userId\":940709780029441,\"bizId\":\"B2B_SCM\",\"id\":591720297496579},{\"orderSn\":\"11591944541798404\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":591944541798403},{\"orderSn\":\"11591945833644036\",\"userId\":940709780029441,\"bizId\":\"B2B_SCM\",\"id\":591945833644035},{\"orderSn\":\"11594021208850436\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":594021208850435},{\"orderSn\":\"11594082764455940\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":594082764455939},{\"orderSn\":\"11594088233795588\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":594088233795587},{\"orderSn\":\"11596119518478340\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":596119518478339},{\"orderSn\":\"11596167602012164\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":596167602012163},{\"orderSn\":\"11596175990620164\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":596175990620163},{\"orderSn\":\"11597000875933700\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":597000875933699},{\"orderSn\":\"11597020304048132\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":597020304048131},{\"orderSn\":\"11597020362702852\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":597020362702851},{\"orderSn\":\"11597021679681540\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":597021679681539},{\"orderSn\":\"11599134627430404\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":599134627430403},{\"orderSn\":\"11604867184558084\",\"userId\":940709780029441,\"bizId\":\"B2B_SCM\",\"id\":604867184558083},{\"orderSn\":\"11604870649053188\",\"userId\":940709780029441,\"bizId\":\"B2B_SCM\",\"id\":604870649053187},{\"orderSn\":\"11604871085228036\",\"userId\":940709780029441,\"bizId\":\"B2B_SCM\",\"id\":604871085228035},{\"orderSn\":\"11604942581334020\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":604942581334019},{\"orderSn\":\"11604970733469700\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":604970733469699},{\"orderSn\":\"11604980673937412\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":604980673937411},{\"orderSn\":\"11604980959150084\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":604980959150083},{\"orderSn\":\"11605491389202436\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":605491389202435},{\"orderSn\":\"11605643365580804\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":605643365580803},{\"orderSn\":\"11605667449274372\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":605667449274371},{\"orderSn\":\"11606376764899332\",\"userId\":1093989294374913,\"bizId\":\"B2B_SCM\",\"id\":606376764899331},{\"orderSn\":\"11609847400464388\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":609847400464387},{\"orderSn\":\"11610007304011780\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":610007304011779},{\"orderSn\":\"11610044197240836\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":610044197240835},{\"orderSn\":\"11610044599861252\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":610044599861251},{\"orderSn\":\"11611394460516356\",\"userId\":814192022126615,\"bizId\":\"B2B_SCM\",\"id\":611394460516355},{\"orderSn\":\"11611396616421380\",\"userId\":814192022126615,\"bizId\":\"B2B_SCM\",\"id\":611396616421379},{\"orderSn\":\"11611397866258436\",\"userId\":814192022126615,\"bizId\":\"B2B_SCM\",\"id\":611397866258435},{\"orderSn\":\"11611558046760964\",\"userId\":814120081424422,\"bizId\":\"B2B_SCM\",\"id\":611558046760963},{\"orderSn\":\"11612125418618884\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":612125418618883},{\"orderSn\":\"11612176647880708\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":612176647880707},{\"orderSn\":\"11615928772001796\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":615928772001795},{\"orderSn\":\"11615928981815300\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":615928981815299},{\"orderSn\":\"11616360433057796\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":616360433057795},{\"orderSn\":\"11622283763417092\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":622283763417091},{\"orderSn\":\"11622354496094212\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":622354496094211},{\"orderSn\":\"11623000158896132\",\"userId\":814101324496979,\"bizId\":\"B2B_SCM\",\"id\":623000158896131},{\"orderSn\":\"11623060884094980\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":623060884094979},{\"orderSn\":\"11624546380644356\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":624546380644355},{\"orderSn\":\"11625120480493572\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":625120480493571},{\"orderSn\":\"11625122527313924\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":625122527313923},{\"orderSn\":\"11625342803771396\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":625342803771395},{\"orderSn\":\"11625811399835652\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":625811399835651},{\"orderSn\":\"11625823169019908\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":625823169019907},{\"orderSn\":\"11625824712556548\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":625824712556547},{\"orderSn\":\"11625921684897796\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":625921684897795},{\"orderSn\":\"11625939694256132\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":625939694256131},{\"orderSn\":\"11626785408548868\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":626785408548867},{\"orderSn\":\"11627394983526404\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":627394983526403},{\"orderSn\":\"11629638601572356\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":629638601572355},{\"orderSn\":\"11630145616478212\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":630145616478211},{\"orderSn\":\"11630268728672260\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":630268728672259},{\"orderSn\":\"11630303507841028\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":630303507841027},{\"orderSn\":\"11630305630158852\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":630305630158851},{\"orderSn\":\"11630305713979396\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":630305713979395},{\"orderSn\":\"11630916227563524\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":630916227563523},{\"orderSn\":\"11631009560133636\",\"userId\":940709780029441,\"bizId\":\"B2B_SCM\",\"id\":631009560133635},{\"orderSn\":\"11632337182228484\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":632337182228483},{\"orderSn\":\"11632450059370500\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":632450059370499},{\"orderSn\":\"11632454866993156\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":632454866993155},{\"orderSn\":\"11632479437193220\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":632479437193219},{\"orderSn\":\"11632486911508484\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":632486911508483},{\"orderSn\":\"11632495139717124\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":632495139717123},{\"orderSn\":\"11632499125256196\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":632499125256195},{\"orderSn\":\"11632499577323524\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":632499577323523},{\"orderSn\":\"11636849691328516\",\"userId\":814121524265014,\"bizId\":\"B2B_SCM\",\"id\":636849691328515},{\"orderSn\":\"11637545777987588\",\"userId\":928969285599232,\"bizId\":\"B2B_SCM\",\"id\":637545777987587},{\"orderSn\":\"11637613567344644\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":637613567344643},{\"orderSn\":\"11638201206112260\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":638201206112259},{\"orderSn\":\"11638214971817988\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":638214971817987},{\"orderSn\":\"11638281123364868\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":638281123364867},{\"orderSn\":\"11639747989864452\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":639747989864451},{\"orderSn\":\"11639802515849220\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":639802515849219},{\"orderSn\":\"11640452648763396\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":640452648763395},{\"orderSn\":\"11641112991793156\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":641112991793155},{\"orderSn\":\"11641750626631684\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":641750626631683},{\"orderSn\":\"11642003350290436\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":642003350290435},{\"orderSn\":\"11642693573345284\",\"userId\":928970040573952,\"bizId\":\"B2B_SCM\",\"id\":642693573345283},{\"orderSn\":\"11649827279470596\",\"userId\":928972724928512,\"bizId\":\"B2B_SCM\",\"id\":649827279470595},{\"orderSn\":\"11650562993946628\",\"userId\":928972724928512,\"bizId\":\"B2B_SCM\",\"id\":650562993946627},{\"orderSn\":\"11651916739182596\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":651916739182595},{\"orderSn\":\"11651930077134852\",\"userId\":928866525151233,\"bizId\":\"B2B_SCM\",\"id\":651930077134851},{\"orderSn\":\"11657055416057860\",\"userId\":1312687619883008,\"bizId\":\"B2B_SCM\",\"id\":657055416057859},{\"orderSn\":\"11665800799518724\",\"userId\":1312710638223360,\"bizId\":\"B2B_SCM\",\"id\":665800799518723}]";

        JSONArray jsonArray = JSONArray.parseArray(sql);

        Set<String> userIds = new HashSet<String>();


        for (int i = 0; i < jsonArray.size(); i++) {
            JSONObject jsonObject = jsonArray.getJSONObject(i);
            userIds.add(jsonObject.getString("userId"));
        }

        System.out.println(userIds.size());




        System.out.println(JSONObject.toJSONString(userIds));

        List userIdList = new ArrayList();
        System.out.println(userIdList.get(0));
        System.out.println(userIdList.get(2));
    }
}
